package io.github.betacatcode.learn.controller;

import io.github.betacatcode.learn.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/admin")
    public Result<Void> admin(){
        return Result.success();
    }

    @GetMapping("/user")
    public Result<Void> user(){
        return Result.success();
    }
}
